* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#data {
  margin: 20px;
  padding: 20px;
  width: 300px;
  border: 1px solid purple;
}

#data h3 {
  text-align: center;
  margin-bottom: 20px;
}

#data div {
  margin: 10px 0;
}

#data div input {
  padding-left: 10px;
  height: 30px;
  outline: none;
  border: 1px solid purple;
  border-radius: 5px;
}


#data div:last-child {
  display: flex;
  justify-content: right;
  padding-right: 10px;
}

#data div:last-child button {
  padding: 5px 15px;
  border: none;
  background-color: purple;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  border-radius: 3px;
}

.list {
  margin: 20px;
  padding: 20px;
  width: 1000px;
  border: 1px solid purple;
}

.list .search {
  display: flex;
}

.list .search input {
  padding-left: 10px;
  margin-right: 20px;
  height: 30px;
  outline: none;
  border: 1px solid purple;
  border-radius: 5px;
}

.list .search button {
  margin-right: 20px;
  padding: 5px 15px;
  border: none;
  background-color: purple;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  border-radius: 3px;
}

.list table {
  margin-top: 20px;
  width: 100%;
  border-collapse: collapse;
}

.list table caption {
  margin-bottom: 20px;
}

.list table caption h3 {
  font-size: 30px;
}

.list table,
.list table tr,
.list table th,
.list table td {
  border: 1px solid purple;
}

.list table tr {
  height: 40px;
}

.list table td {
  text-align: center;
}

.list table td a {
  text-decoration: none;
  color: red;
}